package ptaHhl;
import java.util.Scanner;


import javax.naming.ldap.HasControls;
public class Fivefive {

	public static void main(String[] args) {
		Scanner input= new Scanner(System.in);
		while(input.hasNext())
		{
			int shu=input.nextInt();
			if(shu==0)
				System.out.printf("%d%n",32);
			else {
				String str=Integer.toBinaryString(shu);
				int num=str.length();
				int result=32-num;
				System.out.println(result);
			}
			
			
		}
		

	}

}
